import riki.org.com.model.ModelLocator;
import riki.org.com.net.Red5Connect;
import riki.org.com.handle.NetAppListHandle;

[Bindable]
public var model:ModelLocator = ModelLocator.getInstance();

/**
 * 主场景加载完成后调用
 * */
public function AppStart():void
{
	//trace(this.stage)
	model = ModelLocator.getInstance();
	trace("AppStart");
	
	model.vObj.MainApp		=	this;
	model.vObj.MainStage	=	this.stage;	
	Red5Connect.GetNc().InitAdmin();
	//this.currentState = "MainPanel";
}

/**
 * 服务器游戏列表添加事件处理函数
 * */
 /*
public function	InitServerAppList():void
{
	NetAppHandle
}

*/